split characters to list python

48

>>> s = "foobar"
>>> list(s)
['f', 'o', 'o', 'b', 'a', 'r']

Comments

Submit
0 Comments